#pragma once

#include "notransformactor.h"
#include <QVector>

namespace VrDataCore
{
	class VRDATACORE_EXPORT StatusBase:public NoTransformActor
	{
	public:
		StatusBase();
	protected:
		~StatusBase();
		QVector<QString> _defaultEffectVec;
		bool _isEnable;
		bool _isDefaultStatus;
	public:
		virtual void buildPropertyMap();
		virtual osg::ref_ptr<CoreBase::ActorBase> clone();
		virtual void onMapLoadBegin(CoreBase::Map*){}
		virtual void onMapLoadEnd(CoreBase::Map*){}
		virtual void setEffectEnable(bool enable);
		virtual bool getEffectEnable();
		virtual void removeAllEffectActors();
		void setStatusDefault();
		bool getStatusDefault() const;
	};
}